<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr valign="top">
<td width="19%">
<?php echo $this->element('adicionar_curriculos_sidebar');?>
</td>
<td width="1%"><img width="10" height="5" src="/img/default/spacer.gif"></td>
<td width="65%"><div align="center">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<tbody><tr>
		<td width="0%" background="/img/default/main_bar_bg.gif"><div align="left"><img width="2" height="30" src="/img/default/main_bar_left.gif"></div></td>
		<td width="100%" background="/img/default/main_bar_bg.gif">
			<table cellspacing="0" cellpadding="0" border="0" align="left">
				<tbody><tr>
					<td><img width="12" height="5" src="/img/default/spacer.gif"></td>
					<td><img width="10" height="10" src="/img/default/dotted_bullet.gif"></td>
					<td><img width="6" height="5" src="/img/default/spacer.gif"></td>
					<td><span class="style8">Currículo (Experiência Profissional)</span></td>
				</tr>
			</tbody></table>
		</td>
		<td width="0%" background="/img/default/main_bar_bg.gif"><div align="right"><img width="2" height="30" src="/img/default/main_bar_right.gif"></div></td>
	</tr>
</tbody></table>
</td>
</tr>
<tr>
<td>

<table width="100%" cellspacing="1" cellpadding="15" border="0" bgcolor="#E2E2E2" height="550">
	<tbody><tr>
		<td valign="top" bgcolor="#FFFFFF">
			<table width="100%" cellspacing="0" cellpadding="17" border="0" bgcolor="#dadbdc">
				<tbody><tr>
					<td bgcolor="#FFFFFF">
						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tbody><tr>
								<td>
									<table width="100%" cellspacing="0" cellpadding="0" border="0" height="25">
										<tbody><tr>
											<td bgcolor="#f7f7f7"><span class="style33">&nbsp;&nbsp;Nome do currículo</span></td>
											<td bgcolor="#f7f7f7">* Campos obrigatórios</td>
										</tr>
									</tbody></table>
								</td>
							</tr>
							<tr>
								<td><img width="5" height="5" src="/img/default/spacer.gif"></td>
							</tr>
							<tr>
								<td>
									<table width="100%" cellspacing="0" cellpadding="3" border="0">
										<tbody><tr>
											<td><img width="10" height="5" src="/img/default/spacer.gif"></td>
											<td><div align="right" class="style27">Nome do currículo :</div></td>
											<td><img width="10" height="5" src="/img/default/spacer.gif"></td>
											<td><?php echo $curriculo['Curriculo']['name'];?></td>
										</tr>
										<tr>
											<td colspan="4">
												<table width="100%" cellspacing="0" cellpadding="0" border="0" height="25">
													<tbody><tr>
														<td bgcolor="#f7f7f7"><span class="style33">&nbsp;&nbsp;<a name="total_experience"></a>Tempo de Experiência Total</span></td>
													</tr>
												</tbody></table>
											</td>
										</tr>
										<tr><form onsubmit="return ValidateForm(this)" method="post" action="/img/default/add curriculos 2 experiencia profissional.htm" name="work_experience"></form><input type="hidden" value="add_experience" name="action">
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Tempo de Experiência Total</div></td>
											<td>&nbsp;</td>
											<td><select name="experience_year"><option value="">Anos</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option></select> - <select name="experience_month"><option value="">Meses</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option></select> [ Anos-Meses ]&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="Gravar"></td>
										</tr>
										<tr>
										 <td colspan="4">&nbsp;</td>
										</tr>
										<tr>
											<td colspan="4">
												<table width="100%" cellspacing="0" cellpadding="0" border="0" height="25">
													<tbody><tr>
														<td bgcolor="#f7f7f7"><span class="style33">&nbsp;&nbsp;<a name="experience"></a>Suas Experiências Profissionais</span></td>
													</tr>
												</tbody></table>
											</td>
										</tr>
										<tr>
										 <td colspan="4">
											 <table width="100%" cellspacing="1" cellpadding="3" border="0" class="infoBox">
													<tbody><tr class="infoBoxContent">
														<td valign="top">
																<table width="100%" cellspacing="0" cellpadding="2" border="0">
																	<tbody><tr class="dataTableHeadingRow">
																	<td width="20%" class="dataTableHeadingContent">Data de Inicio</td>
																	<td width="20%" class="dataTableHeadingContent">Data do Fim</td>
																	<td width="40%" class="dataTableHeadingContent">Título do trabalho</td>
																	<td width="10%" class="dataTableHeadingContent">Editar</td>
																	<td width="10%" class="dataTableHeadingContent">Remover</td>
																</tr>
																<?php /**
																*@TODO Criar o loop de experiencias aqui
																*/?>
															</tbody></table>
														</td>
													</tr>
												</tbody></table>
											</td>
										</tr>
										<tr><?php echo $this->Form->create('Curriculo');?>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Nome da Companhia :</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.empresa',array('label'=>false,'div'=>false,'size'=>45,'id'=>'empresa'));?>&nbsp;<span class="inputRequirement">*</span></td>
										</tr>
									
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Pais:</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.paise_id',array('label'=>false,'div'=>false));?></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Provincia:</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.provincia_id',array('label'=>false,'div'=>false));?></td>
										</tr>										
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Cidade/Distrito:</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.distrito_id',array('label'=>false,'div'=>false));?></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Título do emprego :</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.name',array('label'=>false,'div'=>false,'size'=>45));?>&nbsp;<span class="inputRequirement">*</span></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Salário Pretendido :</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.moeda_id',array('label'=>false,'div'=>false));?> <?php echo $this->Form->input('Curriculo.salario',array('label'=>false,'div'=>false));?>&nbsp;&nbsp;Por&nbsp;<?php echo $this->Form->radio('Curriculo.Experiencia.regime_salario_id',$regime_salarios,array('legend'=>false,'label'=>false,'div'=>false));?></td>
										</tr>	
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Categoria do Emprego :</div></td>
											<td>&nbsp;</td>
											<td><?php echo $this->Form->input('Curriculo.Experiencia.area_id',array('label'=>false,'div'=>false));?></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Start Date :</div></td>
											<td>&nbsp;</td>
											<td><select name="TR_start_month"><option value="">Month</option><option value="1">Jan</option><option value="2">Feb</option><option value="3">Mar</option><option value="4">Apr</option><option value="5">May</option><option value="6">Jun</option><option value="7">Jul</option><option value="8">Aug</option><option value="9">Sept</option><option value="10">Oct</option><option value="11">Nov</option><option value="12">Dec</option></select> - <select name="TR_start_year"><option value="">Year</option><option value="1970">1970</option><option value="1971">1971</option><option value="1972">1972</option><option value="1973">1973</option><option value="1974">1974</option><option value="1975">1975</option><option value="1976">1976</option><option value="1977">1977</option><option value="1978">1978</option><option value="1979">1979</option><option value="1980">1980</option><option value="1981">1981</option><option value="1982">1982</option><option value="1983">1983</option><option value="1984">1984</option><option value="1985">1985</option><option value="1986">1986</option><option value="1987">1987</option><option value="1988">1988</option><option value="1989">1989</option><option value="1990">1990</option><option value="1991">1991</option><option value="1992">1992</option><option value="1993">1993</option><option value="1994">1994</option><option value="1995">1995</option><option value="1996">1996</option><option value="1997">1997</option><option value="1998">1998</option><option value="1999">1999</option><option value="2000">2000</option><option value="2001">2001</option><option value="2002">2002</option><option value="2003">2003</option><option value="2004">2004</option><option value="2005">2005</option><option value="2006">2006</option><option value="2007">2007</option><option value="2008">2008</option><option value="2009">2009</option><option value="2010">2010</option><option value="2011">2011</option></select>&nbsp;<span class="inputRequirement">*</span> [ month-year]</td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">End Date :</div></td>
											<td>&nbsp;</td>
											<td><select name="TR_end_month"><option value="">Month</option><option value="1">Jan</option><option value="2">Feb</option><option value="3">Mar</option><option value="4">Apr</option><option value="5">May</option><option value="6">Jun</option><option value="7">Jul</option><option value="8">Aug</option><option value="9">Sept</option><option value="10">Oct</option><option value="11">Nov</option><option value="12">Dec</option></select> - <select name="TR_end_year"><option value="">Year</option><option value="1970">1970</option><option value="1971">1971</option><option value="1972">1972</option><option value="1973">1973</option><option value="1974">1974</option><option value="1975">1975</option><option value="1976">1976</option><option value="1977">1977</option><option value="1978">1978</option><option value="1979">1979</option><option value="1980">1980</option><option value="1981">1981</option><option value="1982">1982</option><option value="1983">1983</option><option value="1984">1984</option><option value="1985">1985</option><option value="1986">1986</option><option value="1987">1987</option><option value="1988">1988</option><option value="1989">1989</option><option value="1990">1990</option><option value="1991">1991</option><option value="1992">1992</option><option value="1993">1993</option><option value="1994">1994</option><option value="1995">1995</option><option value="1996">1996</option><option value="1997">1997</option><option value="1998">1998</option><option value="1999">1999</option><option value="2000">2000</option><option value="2001">2001</option><option value="2002">2002</option><option value="2003">2003</option><option value="2004">2004</option><option value="2005">2005</option><option value="2006">2006</option><option value="2007">2007</option><option value="2008">2008</option><option value="2009">2009</option><option value="2010">2010</option><option value="2011">2011</option></select>&nbsp;<span class="inputRequirement">*</span> [ month-year]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" onclick="set_current_emp()" id="checkbox_current" value="Yes" name="current">&nbsp;<span class="small"><label for="checkbox_current">Current</label></span></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td><div align="right" class="style27">Describe work experience:</div></td>
											<td>&nbsp;</td>
											<td><textarea rows="3" cols="40" wrap="soft" name="description"></textarea></td>
										</tr>
										<tr>
								   <td colspan="4">&nbsp;</td>
							</tr>
							   <tr>
								   <td colspan="4">
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tbody><tr>
<td width="60%" align="right">
<input type="image" border="0" onclick="set_action('experience_add')" title=" save &amp; add new " alt="save &amp; add new" src="/img/default/add_new_experience.gif">&nbsp;&nbsp;&nbsp;<input type="image" border="0" onclick="set_action('experience_add_next')" title=" save &amp; goto next step " alt="save &amp; goto next step" src="/img/default/button_save.gif">
</td>
<td width="40%">&nbsp;&nbsp;&nbsp;<a class="skip_the_step" href="http://www.ejobsitesoftware.com/jobsite_demo/jobseeker_resume6.php?query_string=bb9d92afbab0a8a1837a8d8b7c6f577a8d8bbb9d92afbab0">Skip The Step</a></td>
</tr>
</tbody></table>
</td>
							   </tr>
									</tbody></table>
								</td>
							</tr>
						</tbody></table>
					</td>
				</tr>
			</tbody></table>
		</td>
	</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
</td>
<!-- Middle Ends -->
</tr>
</tbody></table>

	<script> 
	$(function() {
		var empresas = [
			<?php foreach($empresas as $empresa){ echo "\"".$empresa."\",";}?>
		];
		$( "#empresa" ).autocomplete({
			source: empresas
		});
	});
	</script>
	
<?php
//echo $this->Javascript->link(array('jquery-ui/js/jquery-ui-1.8.5.custom.min'));
echo $this->Html->script('jquery-ui/js/jquery-ui-1.8.14.custom.min');
echo $this->Html->css('../js/jquery-ui/css/ui-lightness/jquery-ui-1.8.14.custom');
?>	